package com.wtb.javatool.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Slf4j
public class LogPage implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "申请人")
    private String applicator;
    @ApiModelProperty(value = "授权人")
    private String authorizer;
    @ApiModelProperty(value = "授权描述")
    private String description;
    @ApiModelProperty(value = "操作时间")
    @Column(name = "operation_time")
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operationTime;
    @ApiModelProperty(value = "操作状态")
    private Integer status;
}
